package com.example.book_recommend.service;

import com.example.book_recommend.entity.Privilege;
import com.example.book_recommend.entity.RolePrivilegeKey;
import org.springframework.stereotype.Service;


public interface RolePrivilegeService {
    Integer[] getPrivilegesByRole(Integer roleId);

    Integer[] getPrivilegesByRole0(Integer roleId);

    int delete(RolePrivilegeKey rolePrivilegeKey);

    int deleteByRole(Integer roleId);
}
